//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.restaurant.application.shop;

import com.nebutown.description.UnitDescription;
import com.nebutown.generation.BeanSpec;

public class ShopDesc extends UnitDescription {
    public ShopDesc() {
    }

    public static void main(String[] args) {
        UnitDescription desc = UnitDescription.basicUnit(Shop.class, "ShopData");
        desc.nextBean("ShopData").add("id", String.class).add("name", String.class).add("imgUrl", String.class).add("phone", String.class).add("mail", String.class).add("entityId", String.class).add("support2d", Boolean.class).add("address", BeanSpec.listOf(String.class.getName())).add("latitude", Double.class).add("longitude", Double.class).add("createTime", Long.class).add("modifyTime", Long.class);
        desc.nextBean("ShopVo").add("id", String.class).add("name", String.class);
        desc.addUiFunctionWithAuthorizer("save", "ShopData", (String)null, new String[]{"060102"}).addUiFunction("cancel", (String)null);
        desc.run("./");
    }
}
